HistoryUpdate

Describes the kind of update that triggered an EditorApi.onHistoryUpdatedWithKind event.

The order of the values must stay in sync with ubq::editor::HistoryUpdate on the C++ side.

Entries

Link copied to clipboard

The active history's snapshots changed: a new snapshot was added (e.g. after an edit), or undo/redo was applied. The scene state changed as a direct consequence of the history update.

Link copied to clipboard

A different history buffer was activated via EditorApi.setActiveHistory. The undo/redo stack visible to the user changed, but no new snapshot was created and no undo/redo was applied as part of this event.

Properties

Link copied to clipboard

Returns a representation of an immutable list of all enum entries, in the order they're declared.

Link copied to clipboard
Link copied to clipboard

Functions

Link copied to clipboard

Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)

Link copied to clipboard

Returns an array containing the constants of this enum type, in the order they're declared.